﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Alerts.aspx.cs" Inherits="WebClient.PharosClient.Alerts" %>
<%@ MasterType VirtualPath="~/Site.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="MainPanel" UpdateMode="Conditional" runat="server">
    <ContentTemplate>
    <h3>
    User Alerts:
    </h3>
    <p>
        Selected User: <asp:ComboBox ID="UserSelect" runat="server" DropDownStyle="DropDownList"
            onload="UserSelect_Load" />
    </p>
            <asp:Panel ID="SelectAlerts" runat="server">
                <p>Current Alerts: <asp:Panel ID="CurrentAlertsContainer" runat="server" > </asp:Panel>
                    <p>
                    </p>
                    <p>
                        Add New Alert:
                        <asp:ComboBox ID="SelectedAlert" runat="server" DropDownStyle="DropDownList" />
                        <asp:Button ID="AddAlertButton" runat="server" onclick="AddAlertButton_Click" 
                            Text="Add Alert" />
                    </p>
                    <p>
                    </p>
                    <p>
                    </p>
                </p>
            </asp:Panel>
            <div id ="errorPanel">
                    <asp:Panel ID="ErrorPanel" runat="server" Visible="False">
                    <asp:TextBox ID="ErrorText" runat="server" Height="155px" Width="328px" 
                            ForeColor="White" TextMode="MultiLine" BackColor="Black"></asp:TextBox>
                        <br />
                    <asp:Button ID="ErrorClose" runat="server" Text="Close" onclick="ErrorClose_Click"></asp:Button>
                    </asp:Panel>
                </div>
            </ContentTemplate>
            </asp:UpdatePanel>
</asp:Content>
